/*
 * @Author: guandeshen 295570679@qq.com
 * @Date: 2024-08-20 11:05:08
 * @LastEditors: guandeshen 295570679@qq.com
 * @LastEditTime: 2024-08-31 21:06:36
 * @FilePath: /task-admin/src/api/role/model.ts
 * @Description:
 *
 * Copyright (c) 2024 by RSC, All Rights Reserved.
 */
/**
 * 列表
 */
export interface RoleList {
  id: string;
  name?: string;
  status?: string; //normal=正常，hidden=隐藏
  weigh?: number;
  createtime?: string;
  rules?: string[];
}

/**
 * 查询对象类型
 */
export interface RoleQuery extends PageQuery {
  keyword?: string;
}

/**
 * 表单对象类型
 */
export interface RoleForm {
  id?: string;
  name?: string;
  status?: string; //normal=正常，hidden=隐藏
  weigh?: number;
  createtime?: string;
  rules?: string[];
}
